#ifndef _TRIANGLETXTURE_H_
#define _TRIANGLETXTURE_H_

#include "object.h"




class TriangleTexture: public Object {
	Vertex a;
	Vertex b;
	Vertex c;
	PPMImage *image;
public:
	TriangleTexture(Vertex &aa, Vertex &bb,Vertex &cc, PPMImage *img);
	bool intersect(Ray &ray, Hit *h);
};

#endif
